import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
  /*这个是页面demo配置注意所有的页面已友栈为准 以375进行适配*/
  {
    path: '/',
    name: 'Demo',
    component: () => import('@/views/demo'),
    meta: { title: 'Demo页面'},
  },
  {
    path: '/Demo2.vue',
    name: 'Demo2',
    component: () => import('@/views/demo2'),
    meta: { title: 'demo2页面'},
  },
  // {
  //   path: '/',
  //   name: 'FlashApproval',
  //   component: () => import('@/views/flashApproval'),
  //   meta: { title: '刷写审批'},
  // },
  {
    path: '/eolApplicationDetail',
    name: 'EolApplicationDetail',
    component: () => import('@/views/eolApplicationDetail'),
    meta: { title: 'eol写入申请详情'},
  },
  {
    path: '/writingApplicationDetail',
    name: 'WritingApplicationDetail',
    component: () => import('@/views/writingApplicationDetail'),
    meta: { title: '整车写入申请详情'},
  },
]

const router = new VueRouter({
  // mode: 'history',
  routes
})

export default router
